/**
 */
package base.impl;

import base.BasePackage;
import base.RealSensor;
import base.Sensor;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Real Sensor</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link base.impl.RealSensorImpl#getId <em>Id</em>}</li>
 *   <li>{@link base.impl.RealSensorImpl#getCapteurAssocie <em>Capteur Associe</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class RealSensorImpl extends CDOObjectImpl implements RealSensor {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected RealSensorImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return BasePackage.Literals.REAL_SENSOR;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getId() {
		return (String)eGet(BasePackage.Literals.REAL_SENSOR__ID, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setId(String newId) {
		eSet(BasePackage.Literals.REAL_SENSOR__ID, newId);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Sensor getCapteurAssocie() {
		return (Sensor)eGet(BasePackage.Literals.REAL_SENSOR__CAPTEUR_ASSOCIE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setCapteurAssocie(Sensor newCapteurAssocie) {
		eSet(BasePackage.Literals.REAL_SENSOR__CAPTEUR_ASSOCIE, newCapteurAssocie);
	}

} //RealSensorImpl
